package sessions;

import java.util.List;

import javax.ejb.Local;

@Local
public interface AbstractDao<T> {
	public abstract void create(T entity);
	public abstract void edit(T entity);
	public abstract void remove(T entity);
	public abstract T find(Object id);
	public abstract List<T> findAll();
	public abstract List<T> findRange(int[] range);
	public abstract int count();
}